package org.lc.scoretj.dto;

import java.util.List;

public class ImportResultDTO {
    private int totalRows;
    private int imported;
    private List<ImportFailureDTO> failures;

    public ImportResultDTO() {}

    public ImportResultDTO(int totalRows, int imported, List<ImportFailureDTO> failures) {
        this.totalRows = totalRows;
        this.imported = imported;
        this.failures = failures;
    }

    public int getTotalRows() {
        return totalRows;
    }

    public void setTotalRows(int totalRows) {
        this.totalRows = totalRows;
    }

    public int getImported() {
        return imported;
    }

    public void setImported(int imported) {
        this.imported = imported;
    }

    public List<ImportFailureDTO> getFailures() {
        return failures;
    }

    public void setFailures(List<ImportFailureDTO> failures) {
        this.failures = failures;
    }
}
